using System; using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { checkedListBox1.Items.Add("Sunday", CheckState.Checked); checkedListBox1.Items.Add("Monday", CheckState.Unchecked); checkedListBox1.Items.Add("Tuesday", CheckState.Indeterminate); checkedListBox1.Items.Add("Wednesday", CheckState.Checked); checkedListBox1.Items.Add("Thursday", CheckState.Unchecked); checkedListBox1.Items.Add("Friday", CheckState.Indeterminate); checkedListBox1.Items.Add("Saturday", CheckState.Indeterminate); } } }
Liked By
Write Answer
CheckListBox in C#
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
Manmohan Jha
24-Jul-2013Sumit Kesarwani
15-Jun-2013